package com.yzy.soft.system.service;

import com.yzy.soft.common.persistence.dao.DataextractrulesMapper;
import com.yzy.soft.common.persistence.model.DataExtrace;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RuleExecutionService {
    @Autowired
    private DataextractrulesMapper dataextractrulesMapper;
    public Integer updateexecution(String sql){
        DataExtrace dataExtrace=new DataExtrace();
        dataExtrace.setSql(sql);
        return dataextractrulesMapper.updateSql(dataExtrace);
    }



}
